RSSSL\Security\WordPress\Two_Fa\Rsssl_Two_Factor D

Total Complexity 229
Dependencies 16
Dependents 2
Total lines 1,821
Lines of code 990
Logical lines of code 540
Comment lines 506
Methods 47
Properties 1

Methods 47

Method Rating Maintainability Complexity Lines of code
rsssl_login_form_validate_2fa_email()
D
25
26 186
rsssl_login_form_validate_2fa()
B
32 19 112
onboarding_user_html()
A
36 12 79
maybe_send_reminder_email()
A
38 12 64
add_hooks()
A
43 13 46
is_user_using_two_factor()
A
48 13 33
maybe_skip_auth()
A
47 9 32
rsssl_maybe_show_reset_password_notice()
A
49 8 32
upgrade()
A
51 8 23
login_html()
A
47 7 37
get_configured_providers()
A
56 8 18
rsssl_wp_login()
S
56 6 21
get_primary_provider_for_user()
S
54 5 20
current_user_being_edited()
S
60 5 12
rsssl_enable_dummy_method_for_debug()
S
61 5 11
rsssl_filter_authenticate()
S
64 5 9
show_expired_onboarding_error()
S
65 5 8
is_valid_user_action()
S
62 5 10
is_api_request()
S
66 5 9
show_two_factor_login()
S
59 4 13
handle_not_post_request()
S
57 3 17
rsssl_filter_authenticate_block_cookies()
S
69 4 6
get_user_settings_page_url()
S
62 3 12
maybe_show_last_login_failure_notice()
S
54 2 24
is_user_rate_limited()
S
64 3 9
send_password_reset_emails()
S
66 3 8
show_password_reset_error()
S
58 1 19
login_url()
S
68 2 7
get_user_time_delay()
S
62 2 10
add_module_to_script()
S
70 2 6
rememberme()
S
67 2 7
is_wp_debug()
S
79 2 3
enable_dummy_method_for_debug()
S
70 2 6
sanitize_request_data()
S
76 2 3
is_onboarding_complete()
S
70 2 6
rsssl_collect_auth_cookie_tokens()
S
70 2 6
destroy_current_session_for_user()
S
70 2 6
get_user_update_action_url()
S
63 1 12
enqueue_onboarding_scripts()
S
71 1 5
display_expired_onboarding_error()
S
66 1 9
get_request_data()
S
66 1 7
reset_compromised_password()
S
64 1 9
should_reset_password()
S
71 1 5
get_available_providers_for_user()
S
79 1 3
is_user_api_login_enabled()
S
78 1 3
rsssl_clear_password_reset_notice()
S
79 1 3
enqueue_onboarding_styles()
S
74 1 4